import request from '@/router/axios';
// 提交修改的页面信息
export const updateDrawingInfo = (drawingInfo) => {
  return request({
    url: '/api/data-drawing-info/drawinginfo/update',
    method: 'post',
    data:drawingInfo
  })
}
// 展示关联的信息记录
export const getAllDrawingInfo = (infoId) => {
  return request({
    url: '/api/data-drawing-info/drawinginfo/getAllNodeByInfoId',
    method: 'get',
    params:{
      infoId
    }
  })
}

// 下线指定图纸
export const offlineDrawingInfo = (drawingInfo) => {
  return request({
    url: '/api/data-drawing-info/drawinginfo/offlineDrawingInfo',
    method: 'post',
    data:drawingInfo
  })
}

